import request from '../utils/request';

// 获取培训列表
export const getTrainByCondition = (data) => {
  return request.post(`/project/teach/getTrainByCondition`, { data });
};

// 查询我预约的最新3条培训
export const selectMyJoinedTrain = (data) => {
  return request.post(`/project/teach/selectMyJoinedTrain`, { data });
};
